//
//  AppDelegate.swift
//  swiftWeibo
//
//  Created by WangQiang on 16/7/19.
//  Copyright © 2016年 WangQiang. All rights reserved.
//

import UIKit
/*
 command + shift + j 快速定位到目录
 通过 ⬆️ ⬇️控制选中的目录
 按下回车进入目录编辑模式
 command + c 拷贝目录名称
 command + n 新建文件夹
 command + v 粘帖目录名称
 下一步下一步 直到创建文件完毕
 重复以上操作
 //commond + shift + R 全部折合起来
 //commond + = xib中 UIImageView会自动调整为图片的宽高
 */
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?


    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
        window = UIWindow(frame:UIScreen.main.bounds)
        window?.backgroundColor = UIColor.white
        window?.rootViewController = MainViewController()
        window?.makeKeyAndVisible()
        UINavigationBar.appearance().tintColor = UIColor.orange
        UITabBar.appearance().tintColor = UIColor.orange
        
        
        return true
    }

}

func NJLog<T>(_ message:T,fileName:String = #file,methodName:String = #function,lineName:Int = #line){
    print("\(fileName)[\(lineName)]:\(message)")
}

